package com.itheima.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author 小帅蓝
 * @Date 2022/6/20 20:01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Orders {

    private String id;
    private String number;
    private Integer status;
    private String userId;
    private String addressBookId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date orderTime;
    private Date checkoutTime;
    private String payMethod;
    private BigDecimal amount;
    private String remark;
    private String phone;
    private String address;
    private String userName;
    private String consignee;

}
